STEP 7: We made a placeholder function for our click event, but we won't use it until we start our game.

  • In , drag in Define Function with Docstring underneath add_click_event().
  • Rename my_function() to play_game().
  • Change your new function's docstring to: """Creates an interval event to start the game""".
  • Add the following parameters in this order to play_game(): my_display, my_dictionary

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)